<script type="text/x-template" id="package-name-config-form">
    <div>
        <el-form :rules="rules" ref="codeGenForm" :model="data" label-width="170px">
            <el-form-item label="实体类包名" prop="entity">
                <el-input v-model.trim="data.packageConfig.entity"></el-input>
            </el-form-item>
            <el-form-item label="查询类包名" prop="model">
                <el-input v-model.trim="data.packageConfig.model"></el-input>
            </el-form-item>
            <el-form-item label="mapper接口包名" prop="mapper">
                <el-input v-model.trim="data.packageConfig.mapper"></el-input>
            </el-form-item>
            <el-form-item label="xml包名" prop="xml">
                <el-input v-model.trim="data.packageConfig.xml"></el-input>
            </el-form-item>
            <el-form-item label="biz接口包名" prop="biz">
                <el-input v-model.trim="data.packageConfig.biz"></el-input>
            </el-form-item>
            <el-form-item label="biz接口实现包名" prop="bizImpl">
                <el-input v-model.trim="data.packageConfig.bizImpl"></el-input>
            </el-form-item>
            <el-form-item label="provider接口包名" prop="provider">
                <el-input v-model.trim="data.packageConfig.provider"></el-input>
            </el-form-item>
            <el-form-item label="provider接口实现包名" prop="providerImpl">
                <el-input v-model.trim="data.packageConfig.providerImpl"></el-input>
            </el-form-item>
            <el-form-item label="service接口包名" prop="service">
                <el-input v-model.trim="data.packageConfig.service"></el-input>
            </el-form-item>
            <el-form-item label="service实现包名" prop="serviceImpl">
                <el-input v-model.trim="data.packageConfig.serviceImpl"></el-input>
            </el-form-item>
            <el-form-item label="控制器包名" prop="controller">
                <el-input v-model.trim="data.packageConfig.controller"></el-input>
            </el-form-item>
        </el-form>
    </div>
</script>

<script>
    Vue.component('package-name-config-form', {
        template: '#package-name-config-form',
        data() {
            return {
                rules: {
                    keyvalData: [
                        {required: true, message: '请输入要转化的key:val'}
                    ]
                }
            }
        },
        props: ['data'],
        computed: {},
        methods: {},
        watch: {},
        mounted() {

        },
        created() {
        }
    })
</script>
